package com.jmb.waimao.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.time.LocalDateTime;

/**
 * Email template entity
 */
@Data
@TableName("email_template")
public class EmailTemplate {
    
    @TableId(type = IdType.AUTO)
    private Long id;
    
    /**
     * Template name
     */
    private String templateName;
    
    /**
     * Template subject
     */
    private String subject;
    
    /**
     * Template content
     */
    private String content;
    
    /**
     * Template description
     */
    private String description;
    
    /**
     * Creation time
     */
    private LocalDateTime createTime;
    
    /**
     * Update time
     */
    private LocalDateTime updateTime;
    
    /**
     * Logical delete flag (0: not deleted, 1: deleted)
     */
    private Integer deleted;
}
